<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>wukong-robot</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta name="description" content="一个简单、灵活、优雅的机器人">
  <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">
  <link rel="stylesheet" href="//unpkg.com/gitalk/dist/gitalk.css">
  <link href="https://hahack-1253537070.file.myqcloud.com/images/wukong-icons/black32_32.png" rel='icon' type='image/x-icon'/>
  <script src="//unpkg.com/docsify-edit-on-github/index.js"></script>
</head>
<body>
  <div id="app"></div>
  <script>
   window.$docsify = {
       // 加载 _sidebar.md
       loadSidebar: true,
	   subMaxLevel: 2,
	   coverpage: true,
       repo: 'wzpan/wukong-robot',
       search: 'auto', // 默认值
       ga: 'UA-134706009-1',
       formatUpdated: '{MM}/{DD} {HH}:{mm}',
       plugins: [
           EditOnGithubPlugin.create(
               'https://github.com/wzpan/wukong-contrib/blob/master/docs/'
		   ),
           function (hook, vm) {
             hook.beforeEach(function (html) {
               return html
                 + '<hr/>'
                 + '上次更新：{docsify-updated} '
             })
           },
           function (hook, vm) {
             hook.mounted(function() {
               var div = Docsify.dom.create('div')
               div.id = 'gitalk-container'
               var main = Docsify.dom.getNode('#main')
               div.style = `width: ${main.clientWidth}px; margin: 0 auto 20px;`
               Docsify.dom.appendTo(Docsify.dom.find('.content'), div)
               var script = Docsify.dom.create('script')
               script.async = true
               var ctx = `gitalk.render('gitalk-container')`
               script.textContent = ctx
               Docsify.dom.appendTo(Docsify.dom.body, script)
             })
             hook.doneEach(function() {
               var el = document.getElementById('gitalk-container')
               while(el.hasChildNodes()) el.removeChild(el.firstChild)
               gitalk.render('gitalk-container')
             })
           }
       ]
   }
  </script>
  <script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
  <script src="//unpkg.com/docsify/lib/plugins/search.js"></script>
  <script src="//unpkg.com/prismjs/components/prism-bash.min.js"></script>
  <script src="//unpkg.com/prismjs/components/prism-python.min.js"></script>
  <script src="//unpkg.com/prismjs/components/prism-yaml.min.js"></script>
  <script src="//unpkg.com/docsify/lib/plugins/emoji.min.js"></script>
  <script src="//unpkg.com/docsify/lib/plugins/zoom-image.min.js"></script>
  <script src="//unpkg.com/docsify-copy-code"></script>  
  <script src="//unpkg.com/gitalk/dist/gitalk.min.js"></script>
  <script>
  const gitalk = new Gitalk({
    clientID: 'bf14e3b415521ed96977',
    clientSecret: '180110540c6ca4235958c5ca78b70636d663bffc',
    repo: 'wukong-contrib',
    owner: 'wzpan',
    admin: ['wzpan'],
    // facebook-like distraction free mode
    distractionFreeMode: false
  })
  </script>
  <script src="//unpkg.com/docsify/lib/plugins/ga.min.js"></script>
</body>
</html>
